Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve and document hold utility #7474

Merged
merged 7 commits into from
Nov 8, 2024
Merged

Improve and document hold utility #7474

merged 7 commits into from
Nov 8, 2024

Conversation

philippjfr
Copy link
Member

The hold utility is likely criminally underused by users simply because we haven't made it very visible. In this PR I did a few things:

  • Improve the way events are batched and dispatched by hold
  • Add how-to guide on using hold
  • Move it from panel.io.model to panel.io.document

panel/io/model.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 60.97561% with 16 lines in your changes missing coverage. Please review.

Project coverage is 82.29%. Comparing base (164cd2a) to head (665787e).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
panel/util/warnings.py 0.00% 7 Missing ⚠️
panel/io/document.py 76.92% 6 Missing ⚠️
panel/io/model.py 40.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7474       +/-   ##
===========================================
+ Coverage   41.55%   82.29%   +40.74%     
===========================================
  Files         326      338       +12     
  Lines       48522    50851     +2329     
===========================================
+ Hits        20163    41848    +21685     
+ Misses      28359     9003    -19356     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

philippjfr and others added 2 commits November 8, 2024 11:45
@philippjfr philippjfr merged commit 397d995 into main Nov 8, 2024
17 checks passed
@philippjfr philippjfr deleted the hold_document branch November 8, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants